package com.luoluo.pojo.builder;

import com.luoluo.pojo.UserLeaveWord;
import javafx.util.Builder;

public class UserLeaveWordBuilder implements Builder {

    private UserLeaveWord userLeaveWord = new UserLeaveWord();

    public UserLeaveWordBuilder builderLeaveWordId(Integer leaveWordId) {
        this.userLeaveWord.setLeaveWordId(leaveWordId);
        return this;
    }

    public UserLeaveWordBuilder builderUserId(Integer userId) {
        this.userLeaveWord.setUserId(userId);
        return this;
    }

    @Override
    public UserLeaveWord build() {
        return this.userLeaveWord;
    }
}